package middleware

import (
	"fmt"

	"github.com/gin-gonic/gin"
)

type MiddleController struct{}

func (con MiddleController) PreHandler(c *gin.Context) {
	fmt.Println("1、我是一个中间件")
	c.Next()
	fmt.Println("2、我是一个中间件")
}
